Basic DTD and margin errors

by Steffi Rausch <steffi(at)halcyonwebdesign.com>

 Date:  Wed, 27 Dec 2000 14:11:57 -0500
 To:  hwg-xml(at)hwg.org
  todo: View Thread, Original
I am new to XHTML and was reading the new news release at w3c.org on 
a Basic DTD for PDA's but I am confused about the intent of it being 
for a PDA page only or to be used in conjunction with other DTD's 
for general page use. I mean for webmasters to make their pages 
accessible to PDA's do they need to code a stripped down version of 
their site in parallel or what?

I also am having this one problem of margin attributes with XHTML 
validation for the following website http://halcyonwebdesign.com/  I 
am using a Transitional DTD so it should support some HTML tags like 
these that the CSS tags do not seem to execute properly. Please can 
anyone help? Thanks in advance. -steffi

Below are the results of checking this document for XML 
well-formedness and validity.

        Line 18, column 48:

          ... und="images/back.jpg" marginheight="0" marginwidth="0" topma ...
                                                 ^

        Error: there is no attribute "marginheight"

        Line 18, column 64:

          ... .jpg" marginheight="0" marginwidth="0" topmargin="0" leftmar ...
                                                 ^

        Error: there is no attribute "marginwidth"

        Line 18, column 78:

          ... k.jpg" marginheight="0" marginwidth="0" topmargin="0" 
leftmargin="0" b ...
                                                                ^

        Error: there is no attribute "topmargin"

        Line 18, column 93:

          ... ight="0" marginwidth="0" topmargin="0" leftmargin="0" 
bgcolor="#000000 ...
                                                                ^

        Error: there is no attribute "leftmargin"



Sorry, this document does not validate as XHTML 1.0 Transitional.
-- 
Steffi Rausch
443.286.3848
steffi(at)halcyonwebdesign.com
http://halcyonwebdesign.com/
Halcyon Web Design - "Designing the Difference"

HWG hwg-xml mailing list archives, maintained by Webmasters